import Vue from "vue";
import App from "./App.vue";
import router from "./router";

import axios from "axios";
// 引入elementui的js模块
import ElementUI from "element-ui";
// 引入elementui的css
import "element-ui/lib/theme-chalk/index.css";

// 会自动把ElementUI中定义的组件进行全局注册
Vue.use(ElementUI);

Vue.prototype.axios = axios;

Vue.config.productionTip = false;

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
